package org.example.springboot.convert;

import org.example.springboot.entity.MoistureControl;
import org.example.springboot.vo.MoistureControlVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 
*
* @author Fz
* @since 1.0.0 2024-07-31
*/
@Mapper
public interface MoistureControlConvert {
    MoistureControlConvert INSTANCE = Mappers.getMapper(MoistureControlConvert.class);

    MoistureControl convert(MoistureControlVO vo);

    MoistureControlVO convert(MoistureControl entity);

    List<MoistureControlVO> convertList(List<MoistureControl> list);

}